package com.pope.framework.triage.modular.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author superpope
 * @since 2019-01-24
 */
@Data
@ApiModel(value="更改等级变更日志对象", description="")
@TableName("t_triage_grage_change_log")
public class GrageChangeLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("ID")
    private Integer id;
    @ApiModelProperty(value = "变更前等级")
    @TableField("OLD_GRADE_CODE")
    private Integer oldGradeCode;
    @ApiModelProperty(value = "变更后等级")
    @TableField("NEW_GRADE_CODE")
    private Integer newGradeCode;
    @ApiModelProperty(value = "变更原因")
    @TableField("CHANGE_GRADE_RESON")
    private String changeGradeReson;

    @ApiModelProperty(value = "创建时间")
    @TableField(value="CREATETIME",fill=FieldFill.INSERT)
    private String createtime;

    @ApiModelProperty(value = "修改时间")
    @TableField(value="UPDATETIME",fill=FieldFill.INSERT_UPDATE)
    private String updatetime;

    @ApiModelProperty(value = "登陆用户所在医院ID")
    @TableField("HOSPITAL_ID")
    private Integer hospitalId;


    @ApiModelProperty(value = "操作员标识")
    @TableField(value="STAFF_ID",fill=FieldFill.INSERT_UPDATE)
    private Integer staffId;

    @TableField("REMARK")
    private String remark;

    @ApiModelProperty(value = "租户字段")
    @TableField(value="SITE_ID",fill=FieldFill.INSERT_UPDATE)
    private Integer siteId;

    @TableField(value="CREATE_MAN",fill=FieldFill.INSERT)
    private String createMan;
    @ApiModelProperty(value = "分诊ID")
    @TableField("TRIAGE_ID")
    private Integer triageId;


}
